var _pInfo = {
	"userInfo": null,
	"param": getQueryParams(),
	"renderData": function() {
		AjaxRequest({
			url: _url + "/money/user/usermsg",
			type: "post",
			load: true,
			data: {
				"userid": _pInfo.userInfo["id"]
			},
			success: function(rs) {
				if(isReqSucceed(rs)) {
					_pInfo.userInfo = rs.data;
					if(!isNull(_pInfo.userInfo.headURL)){
						$("#headURL").attr("src", imgUrl + rs.data.headURL);
					}
					$("#username").html(rs.data.username);
				}
			}
		});
	},
	"loadEvents": function() {
		_pInfo.userInfo = _user.getUserInfo();
	},
	"load": function() {
		this.loadEvents();
		this.renderData();
	}
}
$(function() {
	_pInfo.load();
});